package com.dashunwms_aohe.dao;

import com.dashunwms_aohe.bean.ZxyUploadbillDS;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ZxyUploadbillDSDao {
    //TODO  根据单据类型查询需要上传的单据
    List<ZxyUploadbillDS> getUploadBillByBilltype(int billType);

    //TODO  根据单据类型查询需要回写的单据(不去掉重编号,返回当前单据类型所有行字段)
    List<ZxyUploadbillDS> getBackWriteBillByBilltype(int billType);

    //TODO  根据单据类型查询需要回写的单据(去掉重复编号,只能返单据编号)
    List<ZxyUploadbillDS> getBackWriteBillByBilltypeDistinct(int billType);

    //TODO  获取未处理的运输记录(运输记录)
    List<ZxyUploadbillDS> getUntreatedSYJL();

    //TODO  获取未处理的出库复核(出库复核)
    List<ZxyUploadbillDS> getUntreatedCKFH();

    //TODO  逻辑删除数据
    int deleted(ZxyUploadbillDS zxyUploadbillYD);

    //TODO 修改上传标识符
    int updateFlags(ZxyUploadbillDS zxyUploadbillYD);

    //TODO 添加返回值
    int addjzt_result(ZxyUploadbillDS zxyUploadbillYD);

    //修改中间库返回值字段
    int updateBackMessage(ZxyUploadbillDS zxyUploadbillYD);
}